package cn.hzking.gjmall.bean;

import com.google.gson.annotations.SerializedName;

import cn.hzking.gjmall.net.base.BaseEntity;

/**
 * Created by Administrator on 2018/4/4.
 */

public class PayBean extends BaseEntity {

    /**
     * data : {"isWeixin":true,"signPackage":{"appId":"wx472486d174afadbe","nonceStr":"1522827041539","package":"prepay_id=wx04153039936741a7d58f04830413858044","paySign":"7AEB8CE5EAB9E15C6D59AEC3E1C1F468","signType":"MD5","timeStamp":"1522827041"}}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * isWeixin : true
         * signPackage : {"appId":"wx472486d174afadbe","nonceStr":"1522827041539","package":"prepay_id=wx04153039936741a7d58f04830413858044","paySign":"7AEB8CE5EAB9E15C6D59AEC3E1C1F468","signType":"MD5","timeStamp":"1522827041"}
         */

        private boolean isWeixin;
        private SignPackageBean signPackage;

        public boolean isIsWeixin() {
            return isWeixin;
        }

        public void setIsWeixin(boolean isWeixin) {
            this.isWeixin = isWeixin;
        }

        public SignPackageBean getSignPackage() {
            return signPackage;
        }

        public void setSignPackage(SignPackageBean signPackage) {
            this.signPackage = signPackage;
        }

        public static class SignPackageBean {
            /**
             * appId : wx472486d174afadbe
             * nonceStr : 1522827041539
             * package : prepay_id=wx04153039936741a7d58f04830413858044
             * paySign : 7AEB8CE5EAB9E15C6D59AEC3E1C1F468
             * signType : MD5
             * timeStamp : 1522827041
             */

            private String appId;
            private String nonceStr;
            @SerializedName("packageValue")
            private String packageX;
            @SerializedName("sign")
            private String paySign;
            private String signType;
            private String timeStamp;
            @SerializedName("prepayId")
            private String prepayid;
            private String partnerId;

            public String getPartnerId() {
                return partnerId;
            }

            public void setPartnerId(String partnerId) {
                this.partnerId = partnerId;
            }

            public String getPrepayid() {
                return prepayid;
            }

            public void setPrepayid(String prepayid) {
                this.prepayid = prepayid;
            }

            public String getAppId() {
                return appId;
            }

            public void setAppId(String appId) {
                this.appId = appId;
            }

            public String getNonceStr() {
                return nonceStr;
            }

            public void setNonceStr(String nonceStr) {
                this.nonceStr = nonceStr;
            }

            public String getPackageX() {
                return packageX;
            }

            public void setPackageX(String packageX) {
                this.packageX = packageX;
            }

            public String getPaySign() {
                return paySign;
            }

            public void setPaySign(String paySign) {
                this.paySign = paySign;
            }

            public String getSignType() {
                return signType;
            }

            public void setSignType(String signType) {
                this.signType = signType;
            }

            public String getTimeStamp() {
                return timeStamp;
            }

            public void setTimeStamp(String timeStamp) {
                this.timeStamp = timeStamp;
            }
        }
    }
}
